{include /common/header}
<form action="{:plugin_url('/html/admin/index')}" method="POST">
    <fieldset>
        <legend>HTML缓存设置</legend>

        <div class="form-group">
            <label>缓存有效期</label>
            <input type="text" class="form-control" name="expire" value="{$cfg.expire?:3600}">
        </div>

        <div class="form-group">
            <label>缓存提示</label>
            <textarea class="form-control" name="tips" cols="60" rows="3">{$cfg.tips?:''}</textarea>
            <p class="help-block">为空则不提示 __TIME__会替换成页面缓存时间 __EXPIRE__会替换成缓存到期时间</p>
        </div>

        <button type="submit" class="btn btn-primary">提交</button>
        
    </fieldset>
</form>
{include /common/footer}